<script setup lang="ts">
import { ref } from 'vue'
import SonCom1 from './components/SonCom1.vue'

const fname = ref('张三')
const fmoney = ref(100)

const aa = () => {
  console.log('aa')
}
</script>

<template>
  <h2>我是父组件</h2>
  <SonCom1 :name="fname" :money="fmoney" @changeMoney="aa"></SonCom1>
</template>

<style></style>
